<template>
<div style="padding-bottom:60px;">

	<van-tabbar v-model="active">
		<van-tabbar-item icon="home-o" to="/dlq">dlq</van-tabbar-item>
		<van-tabbar-item icon="search" to="/other">其他</van-tabbar-item>
	</van-tabbar>
	
	<router-view/>
</div>
</template>

<script>

import { mapGetters } from 'vuex'

export default {
	
	name : 'test',
	
	data () {
		return {

		}
	},

	props : {

	},

	components : {
		
	},

	computed : {
		...mapGetters([
			
		]),

		active : {

			get () {
				if(this.$route.name == 'dlq'){
					return 0;
				}else if(this.$route.name == 'other'){
					return 1;
				}else{
					return 0;
				}
			},

			set (newValue) {

			},
		},
	},

	methods : {
		
	},

	watch : {
	    
	},

	mounted () {
		
	},

}
</script>

<style scoped>

</style>
